3.9.60 \(\int \frac {x^2}{(a+b x^6) \sqrt {c+d x^6}} \, dx\) [860]

Optimal. Leaf size=54 \[ \frac {\tan ^{-1}\left (\frac {\sqrt {b c-a d} x^3}{\sqrt {a} \sqrt {c+d x^6}}\right )}{3 \sqrt {a} \sqrt {b c-a d}} \]

[Out]

1/3*arctan(x^3*(-a*d+b*c)^(1/2)/a^(1/2)/(d*x^6+c)^(1/2))/a^(1/2)/(-a*d+b*c)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 54, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {476, 385, 211} \begin {gather*} \frac {\text {ArcTan}\left (\frac {x^3 \sqrt {b c-a d}}{\sqrt {a} \sqrt {c+d x^6}}\right )}{3 \sqrt {a} \sqrt {b c-a d}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^2/((a + b*x^6)*Sqrt[c + d*x^6]),x]

[Out]

ArcTan[(Sqrt[b*c - a*d]*x^3)/(Sqrt[a]*Sqrt[c + d*x^6])]/(3*Sqrt[a]*Sqrt[b*c - a*d])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 385

Int[((a_) + (b_.)*(x_)^(n_))^(p_)/((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Subst[Int[1/(c - (b*c - a*d)*x^n), x]
, x, x/(a + b*x^n)^(1/n)] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0] && EqQ[n*p + 1, 0] && IntegerQ[n]

Rule 476

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> With[{k = GCD[m + 1,
n]}, Dist[1/k, Subst[Int[x^((m + 1)/k - 1)*(a + b*x^(n/k))^p*(c + d*x^(n/k))^q, x], x, x^k], x] /; k != 1] /;
FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && IGtQ[n, 0] && IntegerQ[m]

Rubi steps

\begin {align*} \int \frac {x^2}{\left (a+b x^6\right ) \sqrt {c+d x^6}} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{\left (a+b x^2\right ) \sqrt {c+d x^2}} \, dx,x,x^3\right )\\ &=\frac {1}{3} \text {Subst}\left (\int \frac {1}{a-(-b c+a d) x^2} \, dx,x,\frac {x^3}{\sqrt {c+d x^6}}\right )\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {b c-a d} x^3}{\sqrt {a} \sqrt {c+d x^6}}\right )}{3 \sqrt {a} \sqrt {b c-a d}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.28, size = 74, normalized size = 1.37 \begin {gather*} \frac {\tan ^{-1}\left (\frac {a \sqrt {d}+b x^3 \left (\sqrt {d} x^3+\sqrt {c+d x^6}\right )}{\sqrt {a} \sqrt {b c-a d}}\right )}{3 \sqrt {a} \sqrt {b c-a d}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^2/((a + b*x^6)*Sqrt[c + d*x^6]),x]

[Out]

ArcTan[(a*Sqrt[d] + b*x^3*(Sqrt[d]*x^3 + Sqrt[c + d*x^6]))/(Sqrt[a]*Sqrt[b*c - a*d])]/(3*Sqrt[a]*Sqrt[b*c - a*
d])

________________________________________________________________________________________

Maple [F]
time = 0.08, size = 0, normalized size = 0.00 \[\int \frac {x^{2}}{\left (b \,x^{6}+a \right ) \sqrt {d \,x^{6}+c}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(b*x^6+a)/(d*x^6+c)^(1/2),x)

[Out]

int(x^2/(b*x^6+a)/(d*x^6+c)^(1/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(b*x^6+a)/(d*x^6+c)^(1/2),x, algorithm="maxima")

[Out]

integrate(x^2/((b*x^6 + a)*sqrt(d*x^6 + c)), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 96 vs. \(2 (42) = 84\).
time = 2.15, size = 245, normalized size = 4.54 \begin {gather*} \left [-\frac {\sqrt {-a b c + a^{2} d} \log \left (\frac {{\left (b^{2} c^{2} - 8 \, a b c d + 8 \, a^{2} d^{2}\right )} x^{12} - 2 \, {\left (3 \, a b c^{2} - 4 \, a^{2} c d\right )} x^{6} + a^{2} c^{2} - 4 \, {\left ({\left (b c - 2 \, a d\right )} x^{9} - a c x^{3}\right )} \sqrt {d x^{6} + c} \sqrt {-a b c + a^{2} d}}{b^{2} x^{12} + 2 \, a b x^{6} + a^{2}}\right )}{12 \, {\left (a b c - a^{2} d\right )}}, \frac {\arctan \left (\frac {{\left ({\left (b c - 2 \, a d\right )} x^{6} - a c\right )} \sqrt {d x^{6} + c} \sqrt {a b c - a^{2} d}}{2 \, {\left ({\left (a b c d - a^{2} d^{2}\right )} x^{9} + {\left (a b c^{2} - a^{2} c d\right )} x^{3}\right )}}\right )}{6 \, \sqrt {a b c - a^{2} d}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(b*x^6+a)/(d*x^6+c)^(1/2),x, algorithm="fricas")

[Out]

[-1/12*sqrt(-a*b*c + a^2*d)*log(((b^2*c^2 - 8*a*b*c*d + 8*a^2*d^2)*x^12 - 2*(3*a*b*c^2 - 4*a^2*c*d)*x^6 + a^2*
c^2 - 4*((b*c - 2*a*d)*x^9 - a*c*x^3)*sqrt(d*x^6 + c)*sqrt(-a*b*c + a^2*d))/(b^2*x^12 + 2*a*b*x^6 + a^2))/(a*b
*c - a^2*d), 1/6*arctan(1/2*((b*c - 2*a*d)*x^6 - a*c)*sqrt(d*x^6 + c)*sqrt(a*b*c - a^2*d)/((a*b*c*d - a^2*d^2)
*x^9 + (a*b*c^2 - a^2*c*d)*x^3))/sqrt(a*b*c - a^2*d)]

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (a + b x^{6}\right ) \sqrt {c + d x^{6}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(b*x**6+a)/(d*x**6+c)**(1/2),x)

[Out]

Integral(x**2/((a + b*x**6)*sqrt(c + d*x**6)), x)

________________________________________________________________________________________

Giac [A]
time = 4.52, size = 72, normalized size = 1.33 \begin {gather*} -\frac {\sqrt {d} \arctan \left (\frac {{\left (\sqrt {d} x^{3} - \sqrt {d x^{6} + c}\right )}^{2} b - b c + 2 \, a d}{2 \, \sqrt {a b c d - a^{2} d^{2}}}\right )}{3 \, \sqrt {a b c d - a^{2} d^{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(b*x^6+a)/(d*x^6+c)^(1/2),x, algorithm="giac")

[Out]

-1/3*sqrt(d)*arctan(1/2*((sqrt(d)*x^3 - sqrt(d*x^6 + c))^2*b - b*c + 2*a*d)/sqrt(a*b*c*d - a^2*d^2))/sqrt(a*b*
c*d - a^2*d^2)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^2}{\left (b\,x^6+a\right )\,\sqrt {d\,x^6+c}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/((a + b*x^6)*(c + d*x^6)^(1/2)),x)

[Out]

int(x^2/((a + b*x^6)*(c + d*x^6)^(1/2)), x)

________________________________________________________________________________________